package com.lucas.demo.prototype;

/**
 * @author Lucas
 * @date 2021/7/28 下午6:27
 */
public class Rectangle extends Shape{

    public Rectangle(){
        type = "Rectangle";
    }

    @Override
    public void draw() {
        System.out.println("这是个矩形。");
    }
}
